package cn.itcast.aop;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Before;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component
//@Aspect
@Slf4j
@Order(5)
public class OrderAspect1 {

    /*今天的天气真好，这是dev-01修改的内容*/
    @Before("cn.itcast.aop.NoticeAspect.suibian()")
    public void before(){
        log.info("-------------before1111");
    }
    
    @After("cn.itcast.aop.NoticeAspect.suibian()")
    public void after(){
        log.info("-------------after111111");
    }
}
